package com.ssy.lingxi.order.api.model.vo.response;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 订单抵扣积分配置VO
 * @author wyx
 * @version 2.0.0
 * @date 2022-01-05
 */
public class OrderScoreConfigVO implements Serializable {

    private static final long serialVersionUID = 8393345078628259200L;
    /**
     * 会员id(卖家)
     */
    private Long memberId;
    /**
     * 角色id(卖家)
     */
    private Long roleId;

    /**
     * 单个订单允许使用积分上限
     */
    private BigDecimal userScoreLimit;

    /**
     * 积分抵扣金额比例
     */
    private BigDecimal deductionRate;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public BigDecimal getUserScoreLimit() {
        return userScoreLimit;
    }

    public void setUserScoreLimit(BigDecimal userScoreLimit) {
        this.userScoreLimit = userScoreLimit;
    }

    public BigDecimal getDeductionRate() {
        return deductionRate;
    }

    public void setDeductionRate(BigDecimal deductionRate) {
        this.deductionRate = deductionRate;
    }
}
